<extend name="Index/index"/>

<block name="box">
    <div class="view-product">
        <div class="info-center">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">{{$title}}</h6>
            </div>
        </div>
        <div class="layui-container" style="margin-top: 20px">
            <div class="layui-row">
                <if condition="empty($evaAll)">
                    <h2>暂无数据</h2>
                    <else/>
                    <table class="layui-table" id="table">
                        <colgroup>
                            <col >
                            <col >
                            <col >
                        </colgroup>
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>用户名</th>
                            <th>商品名</th>
                            <th>评价内容</th>
                            <th>相符程度</th>
                            <th>评价时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        <foreach name="evaAll" item="value">
                            <tr>
                                <td>{{$value.id}}</td>
                                <td>{{$value.uname}}</td>
                                <td>{{$value.gname}}</td>
                                <td>{{$value.msg}}</td>
                                <td>{{$value.grade}}</td>
                                <td>{{$value.create_time}}</td>
                            </tr>
                        </foreach>
                        <tr>
                            <td colspan="13"><div class="sabrosus">{{$page}}</div></td>
                        </tr>
                        </tbody>
                    </table>
                </if>
            </div>
        </div>
    </div>
    <script src="__PUBLIC__/Admin/Js/admin.js"></script>
</block>